<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Testing_Default3" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" DeleteMethod="DeleteAllWVenueId"
            InsertMethod="Insert" OldValuesParameterFormatString="original_{0}" SelectMethod="SelectAllWPlacementTypeIdActiveOrdered"
            TypeName="PlacementManager.LinkVenuePlacementTypeComponent" UpdateMethod="Update">
            <DeleteParameters>
                <asp:Parameter Name="VenueId" Type="Int32" />
            </DeleteParameters>
            <UpdateParameters>
                <asp:Parameter Name="VenuePlacementTypeId" Type="Int32" />
                <asp:Parameter Name="VenueId" Type="Int32" />
                <asp:Parameter Name="PlacementTypeId" Type="Int32" />
                <asp:Parameter Name="IsRestricted" Type="Boolean" />
                <asp:Parameter Name="MaxNumStudents" Type="Int32" />
                <asp:Parameter Name="VenueSuppliedEducator" Type="Boolean" />
                <asp:Parameter Name="IsActive" Type="Boolean" />
                <asp:Parameter Name="DateCreated" Type="DateTime" />
                <asp:Parameter Name="CreatedBy" Type="String" />
                <asp:Parameter Name="DateUpdated" Type="DateTime" />
                <asp:Parameter Name="UpdatedBy" Type="String" />
            </UpdateParameters>
            <SelectParameters>
                <asp:Parameter DefaultValue="2" Name="PlacementTypeId" Type="Int32" />
            </SelectParameters>
            <InsertParameters>
                <asp:Parameter Name="VenueId" Type="Int32" />
                <asp:Parameter Name="PlacementTypeId" Type="Int32" />
                <asp:Parameter Name="IsRestricted" Type="Boolean" />
                <asp:Parameter Name="MaxNumStudents" Type="Int32" />
                <asp:Parameter Name="VenueSuppliedEducator" Type="Boolean" />
                <asp:Parameter Name="IsActive" Type="Boolean" />
                <asp:Parameter Name="DateCreated" Type="DateTime" />
                <asp:Parameter Name="CreatedBy" Type="String" />
                <asp:Parameter Name="DateUpdated" Type="DateTime" />
                <asp:Parameter Name="UpdatedBy" Type="String" />
            </InsertParameters>
        </asp:ObjectDataSource>
    
    </div>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="ObjectDataSource1">
            <Columns>
                <asp:BoundField DataField="VenueId" HeaderText="VenueId" SortExpression="VenueId" />
                <asp:BoundField DataField="DateCreated" HeaderText="DateCreated" SortExpression="DateCreated" />
                <asp:CheckBoxField DataField="IsRestricted" HeaderText="IsRestricted" SortExpression="IsRestricted" />
                <asp:CheckBoxField DataField="VenueSuppliedEducator" HeaderText="VenueSuppliedEducator"
                    SortExpression="VenueSuppliedEducator" />
                <asp:CheckBoxField DataField="IsActive" HeaderText="IsActive" SortExpression="IsActive" />
                <asp:BoundField DataField="UpdatedBy" HeaderText="UpdatedBy" SortExpression="UpdatedBy" />
                <asp:BoundField DataField="DateUpdated" HeaderText="DateUpdated" SortExpression="DateUpdated" />
                <asp:BoundField DataField="CreatedBy" HeaderText="CreatedBy" SortExpression="CreatedBy" />
                <asp:BoundField DataField="MaxNumStudents" HeaderText="MaxNumStudents" SortExpression="MaxNumStudents" />
                <asp:BoundField DataField="PlacementTypeId" HeaderText="PlacementTypeId" SortExpression="PlacementTypeId" />
                <asp:BoundField DataField="VenuePlacementTypeId" HeaderText="VenuePlacementTypeId"
                    SortExpression="VenuePlacementTypeId" />
            </Columns>
        </asp:GridView>
    </form>
</body>
</html>
